﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace EasyStudy.UI
{
    public partial class CtrlTaskSummary : UserControl
    {
        public CtrlTaskSummary()
        {
            InitializeComponent();
        }

        public String Subject {
            get {
                return lblSubject.Text;
            }
            set {
                lblSubject.Text = value;
            }
        }

        public String PercentageText
        {
            get {
                return lblPercentage.Text;
            }
            set {
                lblPercentage.Text = value;
            }
        }

        public int MaxPercentage
        {
            get { return this.progressBar1.Maximum; }
            set { progressBar1.Maximum = value;}
        }

        public int Percentage
        {
            get {
                return this.progressBar1.Value;
            }
            set {
                this.progressBar1.Value = value;
            }
        }
    }
}
